<?php
    header("Content-type: text/css");
    if(isset($_GET['x']))
	$x = $_GET['x'];
    else
	$x = 800;

echo '

#container {
	position: relative;
	margin-top:0px;
	margin-left: '.(0.01*$x).'px;
	margin-right: '.(0.01*$x).'px;
	font: normal  1em/1.5em verdana,sans-serif;
	width: '.(0.95*$x).'px;
}

#header {
	position: relative;
	background-color: #9EBAFF;
	text-align: center;
	margin-top:0px;
	margin-bottom: 0px;
	border-bottom: 1px;
	border-style: solid;
	border-left: 0px;
	border-right: 0px;
	border-top: 0px;
	height: 5em;
}

#header h1 {
	margin-top:0px;
        padding-top: 30px;
}

#header a {
	margin-top:0px;
	color: black;
	text-decoration: none;	
}

.titolo {
	text-align:center;
	margin-bottom:20px;
}


fieldset legend {
	font-weight:bold;	
}

fieldset label {
	float: left;
	width: 170px;
	display: inline;
	margin-left: 20px;
	line-height: 23px;
	
}


fieldset input, fieldset select {
	margin-bottom:15px;
	display:block;
	
}



.red{
	font-weight:bold;
	color:red;
	text-decoration: none;
}

#go {
	text-align:center;
}

#menusx {
	margin	: 0px;
	width: '.(0.18*$x).'px;
	float: left;
	background-color: #CDDFFA;
}

#menudx {
	float: right;
	width: '.(0.21*$x).'px;
	margin-top: 0px;
	background-color: #CDDFFA;	
	clear:right;	
}

.NomeUtente {
	margin-top:0px;
	margin-left:0px;
	background-color: #CDDFFA;
	color:#0B00A1;
	font-size:0.8em;
	text-align:right;
	border-bottom-style:solid;
	border-bottom-color:#000000;	
}
.NomeUtente p{
	margin-bottom:0px;
	margin-top:2px;
	}
.inline{
	display:inline;	
}
.NomeUtente form{
	display:inline;
}

.NomeUtente input{
	width:90px;
	margin-bottom:0px;
	}
#error {	
	font-weight:bold;
	color:red;
}

.nav input {	
	float:right;
	width: 50%;
	margin-right:5px;
	clear:left;
}


#footer {
    clear: both;
	position: relative;
	background-color: #9EBAFF;
	text-align: center;
	margin-bottom: 0px;
	border-bottom: 0px;
    border-top: 1px;
	border-style: solid;
	border-left: 0px;
	border-right: 0px;	
	height: 4em;
}

#content {
        min-height: 200px;
	margin-left: '.(0.19*$x).'px;
	margin-right: '.(0.22*$x).'px;
	max-width: '.(0.54*$x).'px
}


div.nav h3 {
	font-size: 100%;
	margin: 0;
	padding: 4px 10px;
	border-top: 1px solid #FFF;
	color: #000;
	background-color: #9EBAFF;
}

div.nav ul, div.nav li {
	margin: 0;
	padding: 0;
	list-style-type: none;
	overflow: hidden;
}

div.nav li {
	margin: 0 0 1px 0;
}

div.nav a { 
	display: block;
	padding-left: 15px;
	height: 20px;
	line-height: 20px;
	border-top: 1px solid #FFF;
	background-color: #98AFDA;
	color: #000;
	text-decoration: none;
	font-weight: bold;
}

div.nav a:hover {
	color: #00005A;
	background-color: #0099FF
}


#tabella {
	min-width: '.(0.54*$x).'px;
	border-collapse: collapse;
	margin-bottom: 20px;
}

.tab a:visited{
	color:#6500FF;
}
.tab a:hover{
	color : #6500CC;
	border-bottom-width:1px;
	font-weight:bold;
}
.tab a:active{
	border-bottom-width:1px;
}
.tab a{	
	
	padding-bottom: 3px;
	padding-right: 10px;
	padding-left:5px;	
	border-style:solid;
	border-color:black;
	border-width:1px;
	border-bottom-width:0px;
	text-decoration:none;
	color:#6500FF;
}


.tabutenti {
	
	border: 1px;
	border-color: blue;
	border-style: solid;
	border-collapse: collapse;
	empty-cells: show;
	text-align:center;
	overflow: hidden;
	min-width: '.(0.10*$x).'px;
	max-width: '.(0.11*$x).'px;
}

.tabutenti a {
	color: blue;
	text-decoration: none;	
}
.tabutenti a:hover{
	color:red;
	
}

.tabutentititle {
	border-bottom: 0px;
	border-top:1px;
	border-left:1px;
	border-right:1px;
	border-color: blue;
	border-style: solid;
	
	empty-cells: show;
	background: #9EBAFF;
	text-align:center;
	overflow: hidden;
	font-weight: bold;
}

.tabutentititle a{
	text-decoration:none;
	
}

#pannello {
	border-top-style:solid;
	margin-top:0px;
	border-width:1px;
	margin-left:4px;
	max-width: '.(0.54*$x).'px;	
}

.corpo {
		width: 400px;
		height: 120px;
}

#validator{
	float:left;
}
#validator img{
	border:0;
}

.categoria{
	padding-top:25px;
	padding-bottom:25px;
	margin-top:0px;
	margin-bottom:0px;
	text-align:center;
	border-bottom: 3px solid white;
	background-color:#CDDFFa;
}

#cat{
	margin-bottom:20px;
	
	margin-top:20px;
}

.acat{
	text-decoration:none;
	color:#bb2211;

}


.threads {
	background-color:#CDDFFA;
	border-style:inset;
	border-width:1px;
	width: 100%;
	margin-top:20px;
	margin-bottom:20px;
}


.dataThread{
	font-size:0.6em;
}

.threads td{
	
	border-style:inset;
	border-width:1px;
	text-align:Center;
	width:33%;
}


.threads tr td:first-child{
	width:14%
}

.titoliThread{
background-color:#CDDFFA;
border-style:inset;
border-width:1px;
text-align:center;
font-weight:bold;
}	

.utente{
	text-decoration:none;
	color:#384382;
}

.avatar { 
	max-width: '.(0.14*$x).'px;
	max-height: '.(0.14*$x).'px;
}

.posts {
	background-color:#CDDFFA;
	border-style:inset;
	border-width:1px;
}

.posts td {
	background-color:#CDDFFA;
	border-style:inset;
	border-width:1px;
}

.infoPost {
	max-width: '.(0.15*$x).'px;
	min-width: '.(0.15*$x).'px;
}

.postAvatar {
	min-width: '.(0.14*$x).'px;
	max-width: '.(0.14*$x).'px;
	min-height: '.(0.14*$x).'px;
	text-align: center;
}

.postCorpo {
	max-width: '.(0.37*$x).'px;
	min-width: '.(0.37*$x).'px;
	text-align: justify;
}

.deleteCat, .upCat, .downCat{
	margin:0;
	padding:0;
	display:block;
	
}


.upCat{
	cursor:n-resize;
	text-align: center;
}
.downCat{
	cursor:s-resize;
	text-align: center;
	clear: both;
}

.deleteCat{
	cursor:url("images/xCursor.png"), pointer;
	font-weight: bold;
	font-size: 1.2em;
	float: right;	
}

.modCat {
	float: left;
	
	padding-top: 6px;
}

.imgM{	
	display:inline;
}
.modifyCat{
	float: right;
	text-decoration:none;
	color:red;
	font-size:1.2em;
	text-align:center;	
}

.hide {
	display: none;
}

.show {
	display: block;
}

.show li a {
	margin-left: 20px;
}

.navCat {
	cursor: pointer;
}

.immThr {
	border: 0px;
}

.gray {
	color: gray;
}

.navPagine {
	text-align: center;
}

.modificaPost {
	position: relative;
	margin-left: '.(0.32*$x).'px;
}


.deleteCatWait, .upCatWait, .downCatWait{
	margin:0;
	padding:0;
	display:block;
	
}

.upCatWait{
	cursor:wait;
	text-align: center;
}
.downCatWait{
	cursor:wait;
	text-align: center;
	clear: both;
}

.deleteCatWait{
	cursor:wait;
	font-weight: bold;
	font-size: 1.2em;
	float: right;	
}

.modCatWait {
	float: left;
	
	padding-top: 6px;
}


'
?>
